package ${package}.web.controller;

import ${package}.model.dto.*;
import ${package}.model.vo.*;
import ${package}.service.services.IDemoService;
import com.zliov.inner.common.result.ResultRt;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RestController
@RequestMapping("/demo")
public class DemoController {

    @Autowired
    private IDemoService demoService;


    /**
     * 测试方法
     * @return
     */
    @GetMapping("/test")
    public ResultRt test() {
        return ResultRt.success(demoService.test());
    }

}